<div class="col-md-12">
    <div class="quote"><blockquote><h3 style="margin: 10px 0 0 0 !important;"><?php echo $news->judul; ?></h3></blockquote></div>
    <dl class="dl-inline">
        <dt>Time:</dt>
        <dd><?php echo get_time($news->datecreated); ?></dd>
    </dl>

    <?php if( !empty($news_image) ) : ?>
        <?php if( count($news_image) > 1 ) : ?>        
            <div class="news-image-<?php echo $news_id; ?> flexslider">
                <ul class="slides">            
                <?php foreach($news_image as $img) : ?>
					<li><img src="<?php echo base_url() . $img->path; ?>" alt="<?php echo $img->title; ?>" /></li>
                <?php endforeach ?>
                </ul>                
            </div>
        <?php else : ?>
            <?php foreach($news_image as $img) : ?>
                <?php echo ( !empty($img->path) && file_exists($img->path)  ? '<img src="'. base_url() . $img->path .'" class="details-img" />' : "" ); ?>
            <?php endforeach ?>
        <?php endif ?>
    <?php endif ?>
    
    <div style="margin-top: 25px;">    
        <?php echo $news->content; ?>
    </div>    
</div>